<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>菜单管理</title>
    <%@include file="/WEB-INF/views/commons/commons.jsp"%>
    <script type="text/javascript" src="/static/js/system/menu.js"></script>
</head>
<body>

<table id="table_dataGrid"></table>

<div id="tb">
    <div id="nodelist">
        <a href="#" class="easyui-linkbutton" data-options="plain:true">根节点</a>
    </div>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" onclick="input('添加')">添加</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" onclick="edit()">编辑</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" onclick="remove()">删除</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" onclick="query()">刷新</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-redo',plain:true" onclick="getNode()">查看根节点</a>
</div>

<div id="win" class="easyui-window">
    <form id="editorForm" method="post">
        <table style="padding-top:50px">
            <tr>
                <input id="id" type="hidden" name="id" value="">
                <input type="hidden" id="parentId" name="parent.id" value="">
                <td width="150px" align="right"><label for="text">列表名称:</label></td>
                <td><input id="text" name="text" class="easyui-textbox" style="width:200px"></td>
            </tr>
            <tr>
                <td width="150px" align="right"><label for="url">路径:</label></td>
                <td><input id="url" name="url" class="easyui-textbox" style="width:200px"></td>
            </tr>
        </table>
    </form>
    <div id="win_panel" align="right">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" onclick="save()">编辑 </a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" onclick="cancel()">取消</a>
    </div>

</div>
</body>
</html>